package com.hefeng.example.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;
import java.util.Date;


/**
 * 设备表信息表汇总所有主机设备;
 *
 * @author : http://www.chiner.pro
 * @date : 2022-9-1
 */

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "设备表信息表汇总所有主机设备", description = "")
@TableName("DEVICE_INFO")
@Transactional
public class DeviceInfo extends CustomerManualWorkOrder implements Serializable, Cloneable {
    /**
     * 数据状态;数据状态 1-启用 2-禁用 3-删除
     */
    @ApiModelProperty(name = "数据状态", notes = "数据状态 1-启用 2-禁用 3-删除")
    private String status;
    /**
     * 创建人
     */
    @ApiModelProperty(name = "创建人", notes = "创建人")
    private String createdUser;
    /**
     * 创建时间
     */
    @ApiModelProperty(name = "创建时间", notes = "创建时间")
    private Date createdTime;
    /**
     * 更新人
     */
    @ApiModelProperty(name = "更新人", notes = "更新人")
    private String updatedUser;
    /**
     * 更新时间
     */
    @ApiModelProperty(name = "更新时间", notes = "更新时间")
    private Date updatedTime;
    /**
     * ID
     */
    @ApiModelProperty(name = "ID", notes = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;
    /**
     * 设备名称
     */
    @ApiModelProperty(name = "设备名称", notes = "设备名称")
    private String deviceName;
    /**
     * 设备编码
     */
    @TableField("DEVICE_CODE")
    @ApiModelProperty(name = "设备编码", notes = "设备编码")
    private String deviceCode;
    /**
     * 设备厂家
     */
    @ApiModelProperty(name = "设备厂家", notes = "设备厂家")
    private String deviceManufactor;
    /**
     * 设备厂家型号编码
     */
    @ApiModelProperty(name = "设备厂家型号编码", notes = "设备厂家型号编码")
    private String deviceManufactorModel;
    /**
     * 单位id
     */
    @ApiModelProperty(name = "单位id", notes = "单位id")
    private String unitId;
    /**
     * 设备传输编码
     */
    @ApiModelProperty(name = "设备传输编码", notes = "设备传输编码")
    private String deviceTransmissionCode;
    /**
     * 设备安装地址
     */
    @TableField("DEVICE_ADDRESS")
    @ApiModelProperty(name = "设备安装地址", notes = "设备安装地址")
    private String deviceAddress;
    /**
     * 设备备注
     */
    @ApiModelProperty(name = "设备备注", notes = "设备备注")
    private String deviceRemarks;
    /**
     * 设备阈值（展示待定）
     */
    @ApiModelProperty(name = "设备阈值（展示待定）", notes = "设备阈值（展示待定）")
    private Integer deviceThreshold;
    /**
     * 设备类型
     */
    @ApiModelProperty(name = "设备类型", notes = "设备类型")
    private String deviceType;
    /**
     * 经度
     */
    @TableField("LONGITUDE")
    @ApiModelProperty(name = "经度", notes = "经度")
    private Double longitude;
    /**
     * 纬度
     */
    @TableField("LATITUDE")

    @ApiModelProperty(name = "纬度", notes = "纬度")
    private Double latitude;
    /**
     * 设备终端类型
     */
    @ApiModelProperty(name = "设备终端类型", notes = "设备终端类型")
    private String deviceTerminalType;
    /**
     * 现场照片
     */
    @ApiModelProperty(name = "现场照片", notes = "现场照片")
    private String sceneImages;
    /**
     * 设备照片
     */
    @ApiModelProperty(name = "设备照片", notes = "设备照片")
    private String deviceImages;
    /**
     * 设备图片
     */
    @ApiModelProperty(name = "设备图片", notes = "设备图片")
    private String deviceImage;
    /**
     * 省
     */
    @ApiModelProperty(name = "省", notes = "省")
    private String province;
    /**
     * 市区域
     */
    @ApiModelProperty(name = "市区域", notes = "市区域")
    private String city;
    /**
     * 客户【市/区/县】区域
     */
    @ApiModelProperty(name = "客户【市/区/县】区域", notes = "客户【市/区/县】区域")
    private String district;
    /**
     * 街道区域
     */
    @ApiModelProperty(name = "街道区域", notes = "街道区域")
    private String street;
    /**
     * 部门ID（用作数据权限）
     */
    @ApiModelProperty(name = "部门ID（用作数据权限）", notes = "部门ID（用作数据权限）")
    private Integer deptId;
    /**
     * 设备安装类型;0.工业端 1.居民端
     */
    @ApiModelProperty(name = "设备安装类型", notes = "0.工业端 1.居民端")
    private String deviceInstallationType;

    /**
     * 设备数据来源 1、一期监管平台，2、平台采集、3、电信aep
     */
    @ApiModelProperty(name = "设备数据来源", notes = "1、一期监管平台，2、平台采集、3、电信aep")
    private String deviceSource;
    /**
     * 设备安装时间
     */
    @ApiModelProperty(name = "设备安装时间", notes = "设备安装时间")
    private Data deviceInstallationTime;
    /**
     * 设备报废时间
     */
    @ApiModelProperty(name = "设备报废时间", notes = "设备报废时间")
    private Date deviceRetirementTime;


}
